When there is resonance between inductors and capacitors in a circuit, it can cause high-frequency oscillations, resulting in whistling sounds.